package cn.shujuhai.common.service;


import cn.shujuhai.common.domain.Setting;
import cn.shujuhai.common.pluging.data.ResultVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SettingService {

    List<Setting> getList();

    boolean insertSelective(Setting setting);

    int delById(Long id);

    boolean updateSelective(Setting setting);

    Setting selectById(Long settingId);

    PageInfo<Setting> getPagedSettingsByName(String name, int pageNum, int pageSize);

    int batchdelete(List<Long> ids);

    String getSecretKey();

    String getInitVector();

    String getWebCopyright();

    ResultVo<?> getSettingValue(String settingKey);
}

